<h1>编辑相册</h1>
<?php
echo $this->form->create('Album', array('plugin'=>'album','controller'=>'albums','action' => 'edit'));
echo $this->form->input('id', array('type'=>'hidden'));
echo $this->form->input('user_id',array('label' => '用户id','value'=>$Auth['id'],'type'=>'hidden'));
echo $this->form->input('cover_id',array('label' => '封面图片ID','type'=>'hidden'));
//type_id：0表示系统默认相册 1为用户创建相册
echo $this->form->input('type_id',array('label' => '类型','type'=>'hidden','options'=>array(0,1),'selected'=>1,'disabled'=>TRUE));
echo $this->form->input('title',array('label' => '相册名'));
echo $this->form->input('description', array('label'=>'描述','rows' => '3'));
echo $this->form->end('Save Post');
?>